<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">

<ui:composition template="../templates/template.xhtml">

	<ui:define name="title">
	 	Web Client Main 
	</ui:define>
	<ui:param name="page" value="home" />
	<ui:define name="header">
		<ui:include src="../header.xhtml" />
	</ui:define>

	<ui:define name="menu">
	</ui:define>

	<ui:define name="body">
		
    <h:form enctype="multipart/form-data" method="POST" >
			
					<h:panelGrid columns="2" width="98%" styleClass="outerTable">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Upload New Filings"  />
							</f:facet>
							<t:inputFileUpload  value="#{ImportTextFile.myFile}"  storage="file" required="true"/>
							<h:commandButton value="Submit" action="#{ImportTextFile.uploadFile}" />
						</h:column>					
						<h:column>
							<h:selectOneListbox size="1" value="#{ImportTextFile.docType}">
								<f:selectItems value="#{ImportTextFile.docTypeDescriptionsItems}"/>   
							</h:selectOneListbox>
						</h:column> 												
					</h:panelGrid>

						
		</h:form>
		<br/>
		 <h:form enctype="multipart/form-data" method="POST" >
			
				
					<h:panelGrid columns="1" width="100%" styleClass="outerTable">									
						<h:column>
							<h:commandLink value="View List of Uploaded Files " action="#{ViewUploadedFile.viewListOfUploadedFiles}" styleClass="textFont75">             					
         					</h:commandLink>
						</h:column> 												
					</h:panelGrid>				
		</h:form>
		<!-- <br/>
		 <h:form enctype="multipart/form-data" method="POST" >
			
				
					<h:panelGrid columns="1" width="100%" styleClass="outerTable">									
						<h:column>
							<h:commandLink value="Enter into Database" action="goToChildEnforcementUploadedFilesDetailsPage" styleClass="textFont75">             					
         					</h:commandLink>
						</h:column> 												
					</h:panelGrid>				
		</h:form> -->

		
	</ui:define>
</ui:composition>

</html>
